Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 8 - Light Objects / Light Objects Reference
Light Objects Routines / Managing Lights


Q3Light_GetState

You can use the Q3Light_GetState function to get the current state of a light.

TQ3Status Q3Light_GetState (
TQ3LightObject light, 
TQ3Boolean *isOn);
light
A light object.
isOn
On exit, the current state of the light specified by the light parameter.
DESCRIPTION
The Q3Light_GetState function returns, in the isOn parameter, a Boolean value that indicates whether the light specified by the light parameter is active (kQ3True) or inactive (kQ3False).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996